Compiling Erlang to Scheme

نویسندگان

  • Marc Feeley
  • Martin Larose
چکیده

The programming languages Erlang and Scheme have many common features yet the performance of the current implementations of Erlang appears to be below that of good implementations of Scheme This disparity has prompted us to investigate the translation of Erlang to Scheme Our intent is to reuse the mature compilation technology of cur rent Scheme compilers to quickly implement an e cient Erlang compiler In this paper we describe the design and implementation of the Etos Er lang to Scheme compiler and compare its performance to other systems The Scheme code produced by Etos is compiled by the Gambit C Scheme to C compiler and the resulting C code is nally compiled by gcc One might think that the many stages of this compilation pipeline would lead to an ine cient compiler but in fact on most of our benchmark programs Etos outperforms all currently available implementations of Erlang including the Hipe native code compiler

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Cold standby redundancy optimization for nonrepairable series-parallel systems: Erlang time to failure distribution

In modeling a cold standby redundancy allocation problem (RAP) with imperfect switching mechanism, deriving a closed form version of a system reliability is too difficult. A convenient lower bound on system reliability is proposed and this approximation is widely used as a part of objective function for a system reliability maximization problem in the literature. Considering this lower bound do...

متن کامل

Etos: an Erlang to Scheme compiler

The programming languages Erlang and Scheme have many common features, yet the performance of the current implementations of Erlang appears to be below that of good implementations of Scheme. This disparity has prompted us to investigate the translation of Erlang to Scheme. In this paper we describe the design and implementation of the Etos Erlang to Scheme compiler and compare its performance ...

متن کامل

A staged tag scheme for Erlang

The runtime systems in Ericsson's implementations of the Erlang programming language, up to and including release R6B, use a simple tag scheme which allows for fast computation of an object's type. However, the tag scheme also restricts all Erlang objects to a 28or 30-bit address space. This is problematic when Erlang is ported to new systems, and reduces reliability for applications needing la...

متن کامل

Compilation of Floating Point Arithmetic in the High Performance ERLANG Compiler

In the context of the dynamically typed concurrent functional programming language ERLANG, we describe a simple static analysis for identifying variables containing floating point numbers, how this information is used by the BEAM compiler, and a scheme for efficient (just-in-time) compilation of floating point bytecode instructions to native code. The attractiveness of the scheme lies in its im...

متن کامل

Erlang Capacity Analysis of Multi-access Systems Supporting Voice and Data Services

In this paper, we analyze and compare the Erlang capacity of multi-access systems supporting several different radio access technologies according to two different operation methods: separate and common operation methods. In the common operation, any terminal can connect to any sub-system while each terminal in the separate operation only can connect to its designated sub-system. In a numerical...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998